useblocks 1.3.11-dev.3 → 1.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -1
- package/README.md +1 -1
- package/compat-globals.js +1 -1
- package/iframe/.vite/manifest.json +4 -4
- package/iframe/css/sandbox-dark.css +1 -1
- package/iframe/css/sandbox-light.css +1 -1
- package/iframe/css/sandbox.css +47 -17
- package/iframe/{iframe-eblock.5751e42b.html → iframe-eblock.7594857d.html} +2 -2
- package/iframe/{iframe.5751e42b.html → iframe.7594857d.html} +2 -2
- package/iframe/js/elMarkupHelper.CsLyPjC1.js +278 -0
- package/iframe/js/{iframe-eblock.body.5751e42b.js → iframe-eblock.body.7594857d.js} +1 -1
- package/iframe/js/iframe-eblock.js +2 -2
- package/iframe/js/iframe.body.7594857d.js +129 -0
- package/iframe/js/iframe.js +2 -2
- package/package.json +1 -1
- package/runtime/react/index.js +1 -1
- package/static/core/{5da33486.js → 16612c9f.js} +1 -1
- package/static/core/{516f59e7.js → 1e160f23.js} +1 -1
- package/static/core/{b5da36e5.js → 23e22cd2.js} +1 -1
- package/static/core/25562e5d.js +1 -0
- package/static/core/2633e871.js +1 -0
- package/static/core/{ef035f6b.js → 2740933f.js} +3 -3
- package/static/core/{f1b8515a.js → 2a8b14c0.js} +1 -1
- package/static/core/{66113a18.js → 2ae78ac6.js} +1 -1
- package/static/core/{3b65bc50.js → 31e587ab.js} +1 -1
- package/static/core/3454ca99.js +1 -0
- package/static/core/36071466.js +2 -0
- package/static/core/{e037a420.js → 3cd95e0a.js} +1 -1
- package/static/core/{94f9492b.js → 3e1acefc.js} +1 -1
- package/static/core/3e80379e.js +4 -0
- package/static/core/{b55ae539.js → 3f3feb86.js} +1 -1
- package/static/core/{3d8e2478.js → 4adb5ee9.js} +7 -7
- package/static/core/4e07805d.js +19 -0
- package/static/core/{c13b3d4f.js → 4f8847e6.js} +1 -1
- package/static/core/519dfcc7.js +4 -0
- package/static/core/{a6303cb2.js → 53c22855.js} +1 -1
- package/static/core/{6172f09a.js → 552f7d30.js} +2 -2
- package/static/core/{e698ec22.js → 5de3cd2c.js} +1 -1
- package/static/core/{76543cb2.js → 66853555.js} +1 -1
- package/static/core/{b1edf5c5.js → 69688fad.js} +6 -6
- package/static/core/713de1e1.js +1 -0
- package/static/core/{d343e46e.js → 7ae6cf52.js} +7 -7
- package/static/core/{bda2d9d5.js → 80907514.js} +1 -1
- package/static/core/{513e36bd.js → 86f73ee9.js} +1 -1
- package/static/core/{aee84e3d.js → 8b9a4f49.js} +1 -1
- package/static/core/9348ac64.js +1 -0
- package/static/core/9da6c313.js +1 -0
- package/static/core/{62855b97.js → a004861a.js} +1 -1
- package/static/core/aeec5659.js +1 -0
- package/static/core/b492a9b0.js +93 -0
- package/static/core/{11009bdf.js → b6418818.js} +1 -1
- package/static/core/{467344d4.js → beebdf4d.js} +1 -1
- package/static/core/c03fc17e.js +7 -0
- package/static/core/c3344bbc.js +1 -0
- package/static/core/{8406bab5.js → c3544cf4.js} +1 -1
- package/static/core/{e7e888c1.js → cc4458d8.js} +1 -1
- package/static/core/{58dca22f.js → d551e71d.js} +1 -1
- package/static/core/{f8585ce6.js → d5be6857.js} +1 -1
- package/static/core/{347b0a0b.js → d6c7eb44.js} +1 -1
- package/static/core/d9ff5568.js +1 -0
- package/static/core/{257745eb.js → e2710fd3.js} +1 -1
- package/static/core/{71727873.js → e7c7173a.js} +3 -3
- package/static/core/{1c06cdb7.js → e81b521f.js} +3 -3
- package/static/core/{d2cf6b4b.js → e94e24b5.js} +1 -1
- package/static/core/{1c7a6d45.js → e98b0c61.js} +2 -2
- package/static/core/{7e329493.js → ec079650.js} +1 -1
- package/static/core/ecc4d431.js +1 -0
- package/static/core/f0f20c47.js +1 -0
- package/static/core/{d9d5b376.js → f5d42c73.js} +1 -1
- package/static/core/{ff7d14e8.js → f674f125.js} +1 -1
- package/static/core/{3eeb4445.js → f97efb0a.js} +1 -1
- package/static/core/{261a3a42.js → ff0af9ff.js} +1 -1
- package/static/esm/1d0ba521.js +1 -0
- package/static/esm/delivery-libs.js +1 -1
- package/static/umd-runtime/{Cvm7BS4_.js → CyULsN57.js} +31 -31
- package/static/umd-runtime/DdK5piwW.js +1 -0
- package/static/umd-runtime/delivery-libs.BJHA1QD4.js +1 -0
- package/static/umd-runtime/runtime.8gUPr0nE.js +1 -0
- package/static/umd-runtime/{ui-kit.CoVNet0I.js → ui-kit.BZ4Y4jr2.js} +2 -2
- package/useblocks-core.7594857d.js +875 -0
- package/useblocks-esm.js +12 -12
- package/{useblocks-po.5751e42b.js → useblocks-po.7594857d.js} +1 -1
- package/useblocks.d.ts +1 -1
- package/useblocks.js +13 -13
- package/vendor/useblocks-ui-kit/es/components/Custom/FormBackgroundSettings/index.js +3 -3
- package/vendor/useblocks-ui-kit/es/components/Custom/FormBorderRadiusInputs/index.js +6 -6
- package/vendor/useblocks-ui-kit/es/components/Custom/FormBoxShadowInputs/index.js +5 -5
- package/vendor/useblocks-ui-kit/es/components/Custom/FormPanel/FormPaddingInputs/index.js +69 -64
- package/vendor/useblocks-ui-kit/es/components/Custom/FormPanel/FormSizeInputs/index.js +5 -5
- package/vendor/useblocks-ui-kit/es/components/Custom/FormPanel/FormTypographyFields/index.js +5 -5
- package/vendor/useblocks-ui-kit/es/components/Custom/Inputs/DraggableInputNumber/index.js +41 -35
- package/vendor/useblocks-ui-kit/es/components/Layout/Splitter/index.js +5 -0
- package/vendor/useblocks-ui-kit/index.js +12 -11
- package/vendor/useblocks-ui-kit/package.json +1 -1
- package/iframe/js/elMarkupHelper.BpDXO-hq.js +0 -279
- package/iframe/js/iframe.body.5751e42b.js +0 -129
- package/static/core/11dadbc0.js +0 -1
- package/static/core/1c3a16fc.js +0 -1
- package/static/core/2bed6a18.js +0 -7
- package/static/core/8845436d.js +0 -4
- package/static/core/b59c63d2.js +0 -1
- package/static/core/b9f553d7.js +0 -93
- package/static/core/c0a3f7d0.js +0 -4
- package/static/core/dd008ec2.js +0 -2
- package/static/core/ed65b5c3.js +0 -19
- package/static/esm/c5372168.js +0 -1
- package/static/umd-runtime/B7h7P1Np.js +0 -1
- package/static/umd-runtime/delivery-libs.BymXnePv.js +0 -1
- package/static/umd-runtime/runtime.Lgfb59e0.js +0 -1
- package/useblocks-core.5751e42b.js +0 -875
package/CHANGELOG.md
CHANGED
|
@@ -6,12 +6,55 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [
|
|
9
|
+
## [1.3.16] - 2026-11-19
|
|
10
10
|
|
|
11
11
|
### Added
|
|
12
12
|
|
|
13
|
+
- `Document.transaction` — several plugin edits as a single undo step
|
|
13
14
|
- "Start with a blank email" button on the canvas: appears when the email has nothing to show and brings back the scaffold, so
|
|
14
15
|
blocks can be inserted again
|
|
16
|
+
- Columns: column borders can be dragged with the mouse. When wrapping on mobile is off, columns and gaps
|
|
17
|
+
on phones are set in percent, fill the full width together and keep the desktop proportions. The mobile
|
|
18
|
+
form gets a column bar, "Horizontal gap, %" and a "Same as desktop" button
|
|
19
|
+
- `blocksCommonSource` plugin option: where to take common blocks from when `handleReadCommonBlocks`
|
|
20
|
+
returns nothing — `gallery` (the gallery) or `project` (project blocks marked as "Template")
|
|
21
|
+
- "Template" flag in block settings: such a block is shown among the project's common blocks
|
|
22
|
+
- File Manager: "Compress images" switch under the "Upload file" button. When it is off, an image within
|
|
23
|
+
the limits is uploaded without quality loss; a file over the limit is always compressed
|
|
24
|
+
- File Manager: icon search in the interface language — Russian, Ukrainian, German, French, Spanish,
|
|
25
|
+
Portuguese, Italian and Polish
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Plugin: `handleReadCommonBlocks` and `handleReadTemplateBlocks` are called again; a block from the save
|
|
30
|
+
dialog is no longer copied to our server; an integrator block with a matching ID stays updatable; a
|
|
31
|
+
common block from the server is not offered for update — the dialog suggests creating a new one
|
|
32
|
+
- Plugin startup: an old offline key starts the editor again in closed environments; `reset()` with a user
|
|
33
|
+
change no longer hangs or carries over the previous user's profile; an authorization failure rejects
|
|
34
|
+
`init()` again; `init()` and `reset()` called mid-startup no longer break the editor
|
|
35
|
+
- A custom social icon is visible on the canvas and keeps its proportions; designer icons in templates are
|
|
36
|
+
not replaced with the standard ones when the block is edited; transparent WebP keeps its transparency.
|
|
37
|
+
Images with several URL parameters show on the canvas again
|
|
38
|
+
- The "Link" button with no word under the cursor inserts the text "Link" instead of an invisible empty link
|
|
39
|
+
- A Cyrillic email subject in EML export displays correctly in Outlook
|
|
40
|
+
- Undo and redo: undo puts text back into an emptied editor and moves the cursor to the right block, the
|
|
41
|
+
selection comes back with the step, redo is no longer lost after dragging and internal edits
|
|
42
|
+
- Deleting text: deleting all text or the last character, Backspace next to a non-breaking space and Delete
|
|
43
|
+
in an empty block keep the cursor and no longer erase the preheader or nearby conditional comments
|
|
44
|
+
- Outlook markup: Outlook comments follow changes to email, table and column widths; VML backgrounds, VML
|
|
45
|
+
buttons and visibility comments are moved, copied and deleted together with their element
|
|
46
|
+
- Email code: editing an attribute or moving an element no longer rewrites the rest of the markup; foreign
|
|
47
|
+
page elements and dark preview leftovers no longer get into the email; `rgb()` colors in visible text stay
|
|
48
|
+
as they are; CSS rules are no longer merged into a shared selector list
|
|
49
|
+
- The typograph no longer touches email attributes and in "This element" mode edits only the selection
|
|
50
|
+
- Responsiveness: the switch leaves hand-set classes alone and repairs classes broken by an earlier
|
|
51
|
+
switch-off
|
|
52
|
+
- AMP emails: hovering and clicking elements work, and the cursor is placed
|
|
53
|
+
- Editing a selection that contains two `<style>` tags no longer freezes the Chrome tab
|
|
54
|
+
- Dragging a block no longer gets stuck when the mouse button is released outside the canvas; an element
|
|
55
|
+
dropped with a block keeps its styles
|
|
56
|
+
- Block library: previews no longer run scripts from block markup or pull linked styles into the editor,
|
|
57
|
+
preview fonts no longer flicker, and a block without markup shows a placeholder instead of "undefined"
|
|
15
58
|
|
|
16
59
|
### Changed
|
|
17
60
|
|
|
@@ -20,6 +63,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
20
63
|
- New plugin email: `show()` without `code` opens the updated scaffold code, and an empty `subject` becomes the
|
|
21
64
|
"New email" subject in the interface language. This subject goes to `<title>` and to `getEmail()`
|
|
22
65
|
- The "Blank template" card creates an email without a server request and without parent blocks
|
|
66
|
+
- "Template blocks" in the plugin are shown only with an explicit `blocksTemplateEnabled: true`
|
|
67
|
+
- File Manager: icon search dictionaries sit next to the icon sets (`search-<language>.json`). If the sets are
|
|
68
|
+
served from your own directory (`iconSetsUrl`), put the dictionaries there too — without them search
|
|
69
|
+
works in English only
|
|
70
|
+
|
|
71
|
+
---
|
|
23
72
|
|
|
24
73
|
## [1.3.5] - 2026-11-03
|
|
25
74
|
|
package/README.md
CHANGED
|
@@ -508,7 +508,7 @@ Editor UI tuning. Use **`instance.setConfig`**, **`instance.updateConfig`**, **`
|
|
|
508
508
|
| blocksSavedEnabled | Show saved blocks. | true |
|
|
509
509
|
| blocksCommonEnabled | Show common blocks. | true |
|
|
510
510
|
| blocksCommonSource | Source of common blocks when blocks are stored on Go and `handleReadCommonBlocks` returned nothing: `gallery` — the product gallery, `project` — templates of the project this plugin key belongs to: blocks marked “Template” in SaaS (insert only). | gallery |
|
|
511
|
-
| blocksTemplateEnabled | Show template blocks. Plugin only: the tab is shown when `handleReadTemplateBlocks` returns blocks. |
|
|
511
|
+
| blocksTemplateEnabled | Show template blocks. Plugin only, explicit `true` required: the tab is shown when `handleReadTemplateBlocks` returns blocks. | false |
|
|
512
512
|
| blocksSearchEnabled | Show blocks search. | true |
|
|
513
513
|
| blocksAddPanelEnabled | Show add block panel in visual editor. | true |
|
|
514
514
|
| imagePathDropdownEnabled | Show dropdown with image path. | true |
|